<template>
  <div>
    <el-row class="tac">
      <el-col :span="12">
        <el-menu
          default-active="1"
          class="el-menu-vertical-demo"
          background-color="#545c64"
          text-color="#fff"
          active-text-color="#ffd04b"
          router
        >
          <el-menu-item index="/staff/staffcreate">
            <span class="fa fa-plus-square"></span>新建员工
          </el-menu-item>
          <el-menu-item index="/staff/status">
            <span class="fa fa-flag"></span>员工状态
          </el-menu-item>
          <el-menu-item index="/staff/news">
            <span class="fa fa-volume-up"></span>最新通告
          </el-menu-item>
          <!-- <el-menu-item index="/staff/socket">
        <span class="fa fa-comments"></span>在线聊天
          </el-menu-item>-->
          <el-menu-item index="/staff/statistics">
            <i class="el-icon-date"></i>
            <span slot="title">员工统计</span>
          </el-menu-item>
          <el-menu-item index="/staff/staffsearch">
            <span class="fa fa-search"></span>
            搜索员工
          </el-menu-item>
        </el-menu>
      </el-col>
    </el-row>
  </div>
</template>

<script>
export default {
  methods: {}
};
</script>
<style lang="stylus" scoped>
.subnav {
  border-top: 1px solid rgb(255, 208, 75);
}

.tac {
  width: 200px;
  height: 100%;
  background: #545c64;

  .el-col {
    width: 100%;
  }
}

.fa {
  margin-right: 5px;
  width: 24px;
  text-align: center;
  font-size: 18px;
  vertical-align: middle;
}

.link {
  display: block;
  color: #fff;
}

.el-menu-item {
  background: rgba(255, 0, 0, 0) !important;

  i {
    color: #fff !important;
  }
}

.el-submenu__title i {
  color: #fff !important;
}

.el-icon-arrow-down {
  color: #fff;
}
</style>
